// 弹框
.t-dialog {
  .t-dialog__footer {
    & > div {
      width: 100%;
    }

    .t-button {
      width: 100%;
      height: 40px;
    }
  }
}

.common-dialog {
  position: relative;

  .t-dialog {
    padding: 0;
    border-radius: 8px;

    .t-dialog__header {
      height: 38px;
      background: rgb(33 106 238 / 10%);
      padding: 0 20px 0 34px;

      .t-dialog__header-content {
        font-size: 12px;
      }
    }

    .t-dialog__body {
      padding: 22px 18px;
    }

    .t-dialog__footer {
      padding: 0 22px 32px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;

      .t-button {
        width: calc(50% - 6px);
      }
    }
  }
}

.common-message-dialog {
  &.show-cancel {
    .t-dialog__footer {
      .t-button {
        width: calc(50% - 6px);
      }
    }
  }

  .t-dialog {
    padding: 12px 24px 18px;
    border-radius: 8px;

    .t-dialog__header {
      height: 36px;
    }

    .t-dialog__body {
      padding: 12px 0;
    }
  }
}
